package com.ny;

public class gou {
    public String name;
    public int age;
    public String color;

    public void sound() {
        System.out.println("发出声音");
    }

    public static void main(String[] args) {
        gou gou =new gou();
        gou.name="嘟嘟";
        gou.age=1;
        gou.color="白";
        System.out.println(gou.name);
        System.out.println(gou.age);
        System.out.println(gou.color);
        gou.sound();
    }
}
